var  select= {
    creatMainRido:(id,attr)=>{
        $(id).html("");
            var sttrdiv="";
            for(var i=0;i<3;i++){
                sttrdiv +="<div class='qrm-border"+(i+1)+"' style='display:none'>"+
                    "<ul class='qrm-lev-"+(i+1)+" qrm-lev' id='qrm-border1'>"+
                    "</ul>"+
                    "</div>"
            };
            $(".qrm-main").html(sttrdiv);
            var str="";
            $("#qrm-border1").html("");
            var forTree = function(o){
                for(var i=0;i<o.length;i++){
                    var urlstr = "";
                    try{
                        urlstr = "<li><span>"+ o[i]["name"] +"</span><i class='qrm-arrow-right'></i><ul class='li-zi-"+o[i]["id"]+"' style='display: none'>";
                        str += urlstr;
                        if(o[i]["children"] != null){
                            forTree(o[i]["children"]);
                        }
                        str += "</ul>";
                    }catch(e){}
                }
                return str;
            };
           $("#qrm-border1").html(forTree(attr));
     }
}